package it.uniroma2.art.coda.interfaces;

import java.io.File;

import it.uniroma2.art.coda.core.CODACore;
import it.uniroma2.art.coda.exception.PRParserException;
import it.uniroma2.art.coda.pearl.model.ProjectionRulesModel;

/**
 * @author Andrea Turbati
 */

public abstract class ParserPR extends CODAExtensionInterface {
	protected CODACore codaCore = null;

	public ParserPR(String id, String description) {
		super(id, description);
	}

	public void initialize(CODACore codaCore) {
		this.codaCore = codaCore;
	}

	abstract public ProjectionRulesModel parsePearlDocument(File prFile)
			throws PRParserException;

	// abstract public boolean checkCondition(IfElseStruct ifElse,
	// Map<PlaceholderStruct, String> placeholderAliasToValueMap, Annotation
	// ann);
}
